package com.alibaba.dingtalk.openapi.vo.oa;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 实例更新DTO
 *
 * @author LiZhikang
 * @date 2023/3/15 18:50
 */
@Getter
@Setter
public class InstanceUpdateDTO implements Serializable {
    private static final long serialVersionUID = 2802572829335943820L;

    private String processInstanceId;
    private String status;
    private String result;
    private List<InstanceNotifyDTO> notifiers;

    public InstanceUpdateDTO(String processInstanceId, String status, String result) {
        this.processInstanceId = processInstanceId;
        this.status = status;
        this.result = result;
    }
}
